package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao {
    /**
     * 查询用户信息
     * @param username
     * @return
     */
    @Select("select * from t_user where username=#{username}")
    User loadUserByUsername(String username);
}
